package experiment;

public class FindIOperation implements IOperation{
    @Override
    public void work(EmployeeList employeeList) {
        System.out.println("请输入要查询的员工：");
        String name = scanner.next();
        if(employeeList.findEmployee(name)){
            System.out.println("现有员工中有该员工");
        }else{
            System.out.println("现有员工中暂时还没有该人");
        }
    }
}
